<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<div class="table-responsive">
    <table class="table table-bordered">
        <thead>
        <tr>
            <th class="text-center" width="25%">等级</th>
            <th class="text-center" width="25%">等级头衔</th>
            <th class="text-center" width="25%">所需经验</th>
            <th class="text-center" width="25%">操作</th>
        </tr>
        </thead>
    </table>
    <div class="J_V_tabContent table-xScrollWrap">
        <table class="table table-bordered table-hover ">
            <tbody id="grade-table">
            <tr class="jqgfirstrow" role="row">
                <td role="gridcell" width="25%"></td>
                <td role="gridcell" width="25%"></td>
                <td role="gridcell" width="25%"></td>
                <td role="gridcell" width="25%"></td>
            </tr>
            <tr th:if="!${#lists.isEmpty(dataMap['list'])}" th:each="gradeConfig : ${dataMap['list']}" th:attr="data-id=${gradeConfig['id']}" th:attrappend="data-status=${gradeConfig['status']}" th:attrprepend="id='gradeConfig-'+${gradeConfig['id']}">
                <td class="text-center" >
                    <span th:if="${gradeConfig['gradeName']}==null or ${gradeConfig['gradeName']}==''">—</span>
                    <span th:if="${gradeConfig['gradeName']}!=null" th:text="${gradeConfig['gradeName']}"></span>
                </td>
                <td class="text-center" >
                    <span th:if="${gradeConfig['gradeTitle']}==null or ${gradeConfig['gradeTitle']}==''">—</span>
                    <span th:if="${gradeConfig['gradeTitle']}!=null" th:text="${gradeConfig['gradeTitle']}"></span>
                </td>
                <td class="text-center" >
                    <span th:if="${gradeConfig['experience']}==null or ${gradeConfig['experience']}==''">—</span>
                    <span th:if="${gradeConfig['experience']}!=null" th:text="${gradeConfig['experience']}"></span>
                </td>
                <td class="text-center" >
                    <a href="javascript:void(0)" th:attr="data-id=${gradeConfig['id']}" class="c-master fs14 ml5 grade-config-box" data-toggle="tooltip" data-placement="bottom" data-original-title="编辑"><i class="fa fa-edit"></i></a>
                </td>
            </tr>
                <tr th:if="${#lists.isEmpty(dataMap['list'])}">
                    <td colspan="4" class="text-center">
                        <div class="noDataTipsBox">
                            <p><span class="c-4e fs16">亲，还没有数据~~~</span></p>
                        </div>
                    </td>
                </tr>

            </tbody>
        </table>
    </div>
    <!-- 分页，开始 -->
    <div data-th-replace="layout/adminPage"></div>
    <!-- 分页，结束 -->
</div>
